package com.csw.android.ffmpegtest.media.record.base

/**
 * 录制监听
 */
interface IRecordListener {

    fun onStarted(recorder: IRecorder)

    fun onRunning(recorder: IRecorder, startTime: Long, duration: Long, dataLength: Long)

    fun onCompleted(recorder: IRecorder)

    fun onError(recorder: IRecorder, exception: Exception)

}